package com.hirain.decorator;

/**
 * Created by caicf on 2016/8/18.
 */
public class WebSkill extends SkillDecorator {

    private Skills skills;

    public WebSkill(Skills skills) {
        this.skills=skills;
    }

    @Override
    public String skill() {
        return skills.skill()+" Web ";
    }

    public String newBehavior() {
        return "http";
    }
}
